package com.bw.base.net.net

class Cons {
    companion object{
        const val BASE_URL="http://10.161.9.80:7456"//基础路径
        const val LOGIN_URI="/api/front/login"
        const val LOGIN_CODE_URL = "/api/front/login/mobile"
        const val SEND_CODE_URL="/api/front/sendCode"
        const val USER_URL="/api/front/user"
        const val INDEX_URL="/api/front/index"
        const val INDEX_GOODS_URL="/api/front/index/product/{type}"
        const val GOODS_URL="/api/front/products"
        const val QUAN_URL="/api/front/coupons"
        const val QUAN_RECEIVE_URL="/api/front/coupon/receive"
        const val ADDRESS_URL="/api/front/address/list"
        const val ADD_ADDRESS_URL="/api/front/address/edit"
        const val XQ_URL="/api/front/product/detail/{id}"
        const val ADD_CAR_URL="/api/front/cart/save"
        const val CAR_URL="/api/front/cart/list"
        const val UPDATE_CAR_URL="/api/front/cart/num"
        const val DELETE_CAR_URL="/api/front/cart/delete"
        const val CATEGORY_URL = "/api/front/category"//分类

        const val SP_TOKEN="token"
        const val SP_PHONE="phone"


        const val PARAM_TOKEN="Authori-zation"//请求头的token名称
        const val PARAM_PHONE="phone"
    }
}